What is Netlify Functions?
It’s how you run code on a server as part of your Netlify project, for things like API endpoints, background jobs, scheduled tasks, and webhooks. Anything your app needs to do outside the browser.
What’s the difference between a regular function, a background function, and a scheduled function?
Regular functions respond to a request and return something, so they’re best for work that finishes quickly. Background functions handle longer-running work (up to 15 minutes) and respond immediately while the job keeps running, so reach for them with AI features, file processing, or anything where the result can come a little later. Scheduled functions run automatically on a cron schedule, which suits recurring tasks like nightly syncs, digest emails, or cleanup jobs that don’t start from a user request at all.
Can my AI coding agent configure Functions?
Yes. Region, memory, how it runs, event handlers — everything is set in code, so your agent can read it, write it, and change it the same way it handles the rest of your project.
How does pricing work?
Functions is available on all Netlify plans. Memory and vCPU configuration (up to 4 GB / 2 vCPUs) is available on credit-based plans. See pricing →